package com.lyf.auth.domain.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class GenerateAuthTokenResponse extends AuthCommResponse {
   @ApiModelProperty(
      required = true,
      example = "authToken"
   )
   @JsonInclude(Include.NON_NULL)
   private String authorization;
   @ApiModelProperty(
      required = true,
      example = "36000000"
   )
   @JsonInclude(Include.NON_NULL)
   private Long expireTime;

   public String getAuthorization() {
      return this.authorization;
   }

   public void setAuthorization(String authorization) {
      this.authorization = authorization;
   }

   public Long getExpireTime() {
      return this.expireTime;
   }

   public void setExpireTime(Long expireTime) {
      this.expireTime = expireTime;
   }
}
